<style>
@media (max-width:800px){.to-tip{display:none!important}
}
@keyframes myfirst
{
0%   {background:#FF7F24;}
25%  {background:#FF3E96;}
50%  {background:#6B8E23;}
100% {background:#00B2E;}
}

@-moz-keyframes myfirst /* Firefox */
{
0%   {background:#FF7F24;}
25%  {background:#FF3E96;}
50%  {background:#6B8E23;}
100% {background:#00B2E;}
}

@-webkit-keyframes myfirst /* Safari and Chrome */
{
0%   {background:#FF7F24;}
25%  {background:#FF3E96;}
50%  {background:#6B8E23;}
100% {background:#00B2E;}
}

@-o-keyframes myfirst /* Opera */
{
0%   {background:#FF7F24;}
25%  {background:#FF3E96;}
50%  {background:#6B8E23;}
100% {background:#00B2E;}
}
.to-tip{margin-top:20px;background:#fff;text-align:center;position:relative;overflow:hidden;}
.to-tip .inner{display:inline-block;margin:40px 0;}
.to-tip .top-tip-shap{border-radius:100%}
.to-tip .top-tip-shap a{display:block;width:60px;height:60px;border:1px solid #eee;border-radius:100%;background:#FF5E52;color:#fff;font-size:24px;line-height:58px;text-align:center;}
.to-tip .top-tip-shap a:hover{background:#dd3030}
.to-tip .top-tip-shap a:hover .to_code{display:block;}
.to-tip .top-tip-shap a cite{display:block;color:#666;font-size:12px;line-height:20px;}

.qianbox{display:none;}
.qianbox .dashang_gu{margin-bottom:10px;}
.qianbox .m-body{margin-bottom:10px;padding:10px 0;}
.qianbox .dashang_gu .btn{min-width:80px;margin:5px;}
.qianbox .dashang_gu .dingyi a{font-size:14px;color:#f60;text-align:center;line-height:36px;}
.qianbox span{color:#ff6600;}
.shangput{width:80px;height:30px;color:#ff6600;border:1px solid #ddd;border-radius:4px;padding:0px 8px;-moz-appearance:textfield;-webkit-appearance: none !important;}
.mod-shang-box{padding:5px 0;}
.mod-shang-box a{margin:5px;}
img.smallimg{width:30px;height:30px;margin-right:3px;margin-bottom:3px;}
.userslist{margin:0px 30px;}
.manyds:hover{cursor:pointer;}
</style>
<section class="to-tip">
<div class="inner">
	<div class="top-tip-shap" id="shangbox">
	<a class="aw-icon-thank-tips" href="javascript:;" >赏	
    </a>
    <div style="padding:10px 0px;" class="manyds" onclick="showuserlist(this)">{$dscount}人打赏<i class="iconfont icon-xia es-font12"></i></div>

</div>

		<div class="qianbox" id="qianbaobox">
		<div class="dashang_gu ">
			<div class="m-body">
			您的钱包存有：<span>{$nowuserpoint}</span> {$scorename}
			</div>
			<div class="m-body">
				<div class="col-md-3"><a onclick="AWS.ajax_request(G_BASE_URL + '/dashang/ajax/shanghim/', 'itemid=218&amp;touid=2&amp;shangnum=1');" class="btn btn-xs btn-warning">1 元</a></div>
				<div class="col-md-3"><a onclick="AWS.ajax_request(G_BASE_URL + '/dashang/ajax/shanghim/', 'itemid=218&amp;touid=2&amp;shangnum=2');" class="btn btn-xs btn-warning">2 元</a></div>
				<div class="col-md-3"><a onclick="AWS.ajax_request(G_BASE_URL + '/dashang/ajax/shanghim/', 'itemid=218&amp;touid=2&amp;shangnum=5');" class="btn btn-xs btn-warning">5 元</a></div>
				<div class="col-md-3"><a onclick="AWS.ajax_request(G_BASE_URL + '/dashang/ajax/shanghim/', 'itemid=218&amp;touid=2&amp;shangnum=10');" class="btn btn-xs btn-warning">10 元</a></div>
				<div class="col-md-3"><a onclick="AWS.ajax_request(G_BASE_URL + '/dashang/ajax/shanghim/', 'itemid=218&amp;touid=2&amp;shangnum=20');" class="btn btn-xs btn-warning">20 元</a></div>
				<div class="col-md-3"><a onclick="AWS.ajax_request(G_BASE_URL + '/dashang/ajax/shanghim/', 'itemid=218&amp;touid=2&amp;shangnum=50');" class="btn btn-xs btn-warning">50 元</a></div>
				<div class="col-md-3"><a onclick="AWS.ajax_request(G_BASE_URL + '/dashang/ajax/shanghim/', 'itemid=218&amp;touid=2&amp;shangnum=100');" class="btn btn-xs btn-warning">100 元</a></div>
				<div class="col-md-3"><a onclick="AWS.ajax_request(G_BASE_URL + '/dashang/ajax/shanghim/', 'itemid=218&amp;touid=2&amp;shangnum=200');" class="btn btn-xs btn-warning">200 元</a></div>
			</div>
			<div class="m-body">
				<div class="dingyi"><a onclick="showdy();">自定义打赏金额</a></div>
			</div>
		</div>
		<div id="formbox" class="m-body hide">
			<form id="shanghim" action="http://www.yirenji.com/dashang/ajax/shanghim/" method="post" onsubmit="return false;">
			<input name="touid" id="touid" type="hidden" value="2">
			<input name="itemid" id="itemid" type="hidden" value="218">
			打赏作者<input name="shangnum" id="shangnum" class="shangput" type="text" value="1">{$scorename}
			&nbsp;
			<button onclick="shanghim();" id="bao" class="btn btn-small btn-danger">确认打赏</button>
			</form>
		<div class="m-body">
	</div>
	</div>
</div>





</div>

    <div class="userslist hide" >
    <dt class="pull-left aw-border-radius-5">
		<a href="/OneBase/index.php/user/home/id/1.html" class="aw-user-name" data-id="1">
		<img src="http://127.0.0.1/OneBase//public/images/default.png" alt="admin" class="smallimg">
		</a>
	</dt>
	 
	</div>
</section>
	
	<script>
function showdy(){
	
	$('#formbox').show();
	
	
}
var user=0;
function showuserlist(obj){
	if(user==1){
		user=0;
		$('.userslist').fadeOut();
		$(obj).find('.iconfont').removeClass('icon-shang').addClass('icon-xia');
	}else{
		$('.userslist').fadeIn();
		user=1;
		$(obj).find('.iconfont').removeClass('icon-xia').addClass('icon-shang');
	}
	
	
	
}
	$(function(){
		
		$('.aw-icon-thank-tips').click(function(){
			
			layer.open({
				  type: 1,
				  closeBtn: 0,
				  shadeClose:true,
				  title:false,
				  area: ['500px', '300px'],
				  content: $('#qianbaobox') 
				});
			
			
		});
		
		
	})
	
	</script>

